package com.example.myandroidtest.common.http;

import com.example.myandroidtest.bean.Column;

import java.util.List;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * api接口
 */
public interface Api {

    //https://app.baomi.org.cn/portal/main-mobile-api/v2/spc/cms/col/getSiteColNextLevelNode?colId=0&siteId=95
    @GET("portal/main-mobile-api/v2/spc/cms/col/getSiteColNextLevelNode")
    Observable<HttpResult<List<Column>>> getColumnList(@Query("colId") int colId,
                                                       @Query("siteId") int siteId);

}





